Elementor\Core\Base\Background_Task A

Total Complexity 52
Dependencies 3
Dependents 1
Total lines 366
Lines of code 197
Logical lines of code 113
Comment lines 99
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
task()
A
46 9 37
handle()
A
50 8 29
query_col()
S
59 3 14
handle_immediately()
S
61 3 13
handle_cron_healthcheck()
S
66 3 10
delete_all_batches()
S
61 2 12
dispatch()
S
71 2 6
kill_process()
S
72 2 6
set_total()
S
66 2 8
schedule_event()
S
72 2 5
batch_limit_exceeded()
S
79 2 3
format_callback_log()
S
78 1 3
set_current_item()
S
81 1 3
is_memory_exceeded()
S
81 1 3
schedule_cron_healthcheck()
S
65 1 8
is_running()
S
80 1 3
is_process_locked()
S
81 1 3
get_batch()
S
73 1 5
get_current_item()
S
82 1 3
continue_run()
S
81 1 3
complete()
S
77 1 4
get_limit()
S
81 1 3
get_current_offset()
S
74 1 4
should_run_again()
S
79 1 3
__construct()
S
70 1 6